package edu.sctu.zhengsenwen.month201505.day20150511;

/**
 * Created by user15 on 2015/5/11.
 */
public class Inherite {
    public static void main(String[] args) {


        ParentClass parentclass = new ParentClass();
        parentclass.name("郑森文");
        parentclass.getStudentID("101014");

        SubClass subclass = new SubClass();
        subclass.grade(99);
        subclass.getPloy("student");

        SubClassToo subclasstoo = new SubClassToo();
        subclasstoo.getAge(19);
        subclasstoo.getHabits("reading and listening");



    }
}
